package Dao;

import domain.Student;

import java.util.HashMap;
import java.util.List;

public interface StudentDao {
    public void addStudent(Student student);

    /**
     * 模糊查询student
     * @param map
     * @return
     */
    public List<Student> fuzzyQueryStudent(HashMap<String,String> map);

    public List<Student> listStudent();


    public List<Student> findStudentByStunum(String stunum);

    public void updateStudent(Student student);

    public void deleteStudentByStunum(String stunum);
}
